3.3.25 \(\int \frac {1}{(a x+b x)^2} \, dx\)

Optimal. Leaf size=10 \[ -\frac {1}{x (a+b)^2} \]

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 10, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {6, 12, 30} \begin {gather*} -\frac {1}{x (a+b)^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a*x + b*x)^(-2),x]

[Out]

-(1/((a + b)^2*x))

Rule 6

Int[(u_.)*((w_.) + (a_.)*(v_) + (b_.)*(v_))^(p_.), x_Symbol] :> Int[u*((a + b)*v + w)^p, x] /; FreeQ[{a, b}, x
] &&  !FreeQ[v, x]

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rubi steps

\begin {align*} \int \frac {1}{(a x+b x)^2} \, dx &=\int \frac {1}{(a+b)^2 x^2} \, dx\\ &=\frac {\int \frac {1}{x^2} \, dx}{(a+b)^2}\\ &=-\frac {1}{(a+b)^2 x}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 10, normalized size = 1.00 \begin {gather*} -\frac {1}{x (a+b)^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a*x + b*x)^(-2),x]

[Out]

-(1/((a + b)^2*x))

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{(a x+b x)^2} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[(a*x + b*x)^(-2),x]

[Out]

IntegrateAlgebraic[(a*x + b*x)^(-2), x]

________________________________________________________________________________________

fricas [A]  time = 0.37, size = 18, normalized size = 1.80 \begin {gather*} -\frac {1}{{\left (a^{2} + 2 \, a b + b^{2}\right )} x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a*x+b*x)^2,x, algorithm="fricas")

[Out]

-1/((a^2 + 2*a*b + b^2)*x)

________________________________________________________________________________________

giac [A]  time = 0.15, size = 16, normalized size = 1.60 \begin {gather*} -\frac {1}{{\left (a x + b x\right )} {\left (a + b\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a*x+b*x)^2,x, algorithm="giac")

[Out]

-1/((a*x + b*x)*(a + b))

________________________________________________________________________________________

maple [A]  time = 0.03, size = 11, normalized size = 1.10 \begin {gather*} -\frac {1}{\left (a +b \right )^{2} x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(a*x+b*x)^2,x)

[Out]

-1/(a+b)^2/x

________________________________________________________________________________________

maxima [A]  time = 1.34, size = 16, normalized size = 1.60 \begin {gather*} -\frac {1}{{\left (a x + b x\right )} {\left (a + b\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a*x+b*x)^2,x, algorithm="maxima")

[Out]

-1/((a*x + b*x)*(a + b))

________________________________________________________________________________________

mupad [B]  time = 0.03, size = 10, normalized size = 1.00 \begin {gather*} -\frac {1}{x\,{\left (a+b\right )}^2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(a*x + b*x)^2,x)

[Out]

-1/(x*(a + b)^2)

________________________________________________________________________________________

sympy [A]  time = 0.08, size = 15, normalized size = 1.50 \begin {gather*} - \frac {1}{x \left (a^{2} + 2 a b + b^{2}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a*x+b*x)**2,x)

[Out]

-1/(x*(a**2 + 2*a*b + b**2))

________________________________________________________________________________________